package com.qingzhuge.sys.dto.request;

import com.qingzhuge.dto.request.BaseRequestPkLongDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * @author : zero.xiao
 * @description : 数据字典
 * @date :2018/6/8 0008 下午 14:56
 * @modified :
 */
@Getter
@Setter
@ApiModel("数据字典")
public class SysDictRequestDto extends BaseRequestPkLongDto {
    @ApiModelProperty("字典类型")
    private String type;
    @ApiModelProperty("字典码")
    @NotBlank(message = "字典码不能为空")
    private String code;
    @ApiModelProperty("排序")
    private int sortBy = 0;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("删除标记  -1：已删除  0：正常")
    private Integer delFlag;
    @ApiModelProperty("父字典类型")
    private String parentType;

}
